<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 引入样式 -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
    <link href="https://cdn.bootcss.com/element-ui/2.4.0/theme-chalk/index.css" rel="stylesheet">

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />

    <style>
        .chapter_nav {
            float: left;
            background-color: lightblue;
        }

        .chapter_content {
            float: right;
        }

        .el-collapse-item__header {
            padding-left: 15px;
        }

        .el-collapse-item__content {
            padding: 15px;
        }

        .chapter_well {
            border-top: none;
        }

        .el-collapse-item__wrap {
            background-color: lightsteelblue
        }

        .block {
            float: right;
        }
        .el-card {
            border: none;
        }
    </style>
</head>

<body>

    <div v-cloak class="container clearfix" id="app">

        <m-card class="clearfix" title="章节列表" :collapse="formCollapse" no-padding=true>

            <el-row :gutter="12" class="chapter_well" v-for="item in chapterList">
                <el-col :span="24">
                    <el-card shadow="never">
                        {{item.chName}}
                    </el-card>
                </el-col>
            </el-row>

            <!--<el-collapse accordion class="chapter_well">
                <el-collapse-item v-for="item in chapterList">
                    <template slot="title">
                       {{item.chName}}
                    </template>
                </el-collapse-item>
            </el-collapse>-->

        </m-card>

        <div class="block">
            <el-pagination
                    background
                    @size-change="handleSizeChange"
                    @current-change="handleCurrentChange"
                    :current-page="currentPage"
                    :page-sizes="pageSizes"
                    :page-size="pageSize"
                    layout="total, sizes, prev, pager, next, jumper"
                    :total="totalCount">
            </el-pagination>
        </div>


    </div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>
    <script src="../src/lib/vue-router.js"></script>
    <script src="../boot.js"></script>
    <script src="../page/src/config.js"></script>


    <!-- 引入组件库 -->
    <!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
    <script src="https://cdn.bootcss.com/element-ui/2.4.0/index.js"></script>

    <link href="https://cdn.bootcss.com/layer/3.1.0/theme/default/layer.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/layer/3.1.0/layer.js"></script>



    <script>
        $(function () {
            seajs.use('./06_chapterList.js');
        })
    </script>



</body>

</html>
